#include <QtTest>
#include "capdatetimeworktest.h"
#include "onedayleftsecondstest.h"
#include "sameDayLeftSecondsTest.h"
#include "todayleftsecondstest.h"
#include "finalleftsecondstest.h"
#include "diffsecondstest.h"

int main(int argc, char *argv[])
{
    int result = 0;

    // 测试 CapDateWorkTimeTest
    CapDateWorkTimeTest test1;
    result |= QTest::qExec(&test1, argc, argv);

    // 测试 OneDayLeftSecondsTest
    OneDayLeftSecondsTest test2;
    result |= QTest::qExec(&test2, argc, argv);

    // 测试 SameDayLeftSecondsTest
    SameDayLeftSecondsTest test3;
    result |= QTest::qExec(&test3, argc, argv);

    // 测试 TodayLeftSecondsTest
    TodayLeftSecondsTest test4;
    result |= QTest::qExec(&test4, argc, argv);

    // 测试 FinalLeftSecondsTest
    FinalLeftSecondsTest test5;
    result |= QTest::qExec(&test5, argc, argv);

    // 测试 DiffSecondsTest
    DiffSecondsTest test6;
    result |= QTest::qExec(&test6, argc, argv);

    return result;
}
